﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace iLangl
{
	public class BaseActionDescriptor : IActionDescriptor 
	{
		public BaseActionDescriptor()
		{
			ResponseContext = new BaseContext();
			RequestContext = new BaseContext();
		}
		protected String actionName;
		public virtual String ActionName
		{
			get
			{
				return actionName;
			}
			set
			{
				actionName = value;
			}
		}

		protected String version;
		public virtual String Version
		{
			get
			{
				return version;
			}
			set
			{
				version = value;
			}
		}


		public IContext ResponseContext
		{
			get;
			set;
		}

		public IContext RequestContext
		{
			get;
			set;
		}



		protected String actionId;
		public string Id
		{
			get { return actionId; }
			set
			{
				actionId = value;
			}
		}

		#region IActionDescriptor Members


		public IPackage Container
		{
			get;
			set;
		}


		protected Boolean isSynced;
		public virtual bool IsSynced
		{
			get
			{
				return isSynced;
			}
			set
			{
				isSynced = value;
			}
		}
		#endregion
	}
}
